package com.cinc.ebc.fi.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 收款单详情
 * @Author: jeecg-boot
 * @Date: 2022-12-17
 * @Version: V1.0
 */
@Data
@ApiModel(value = "fi_payment_voucher_detailPage对象", description = "收款单详情")
public class FiReceiveVoucherDetailPage {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 单据编号
     */
    @Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String voucherCode;
    /**客户*/
    @Excel(name = "客户", width = 15, dictTable = "crm_customer", dicText = "cust_full_name", dicCode = "id")
    @Dict(dictTable = "crm_customer", dicText = "cust_full_name", dicCode = "id")
    @ApiModelProperty(value = "客户")
    private java.lang.String customerId;
    /**
     * 单据日期
     */
    @Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private Date voucherDateBegin;
    /**
     * 单据日期
     */
    @Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private Date voucherDateEnd;
    /**
     * 来源单据编号
     */
    @Excel(name = "来源单据编号", width = 15)
    @ApiModelProperty(value = "来源单据编号")
    private String billNo;
    /**
     * 编码
     */
    @Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private String code;
    /**
     * 名称
     */
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;

}
